Feature: 03. Now we can test the Sentry Navigation Modes
Before
Hook
java.lang.AssertionError: Button with xpath "//div[contains(@class, 'menu grid-element')]/div[contains(@class, 'menuModes primary')]/div[contains(@class, 'menuModes-modes')]/button[3]" can't be clicked!!
element click intercepted: Element (button class="ModesButton manual active")...(/button) is not clickable at point (473, 1135). Other element would receive the click: (div class="registrationModalContent-wrapper")...(/div)
(Session info: chrome-headless-shell=124.0.6367.118)
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'jenkintPT', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '6.5.0-41-generic', java.version: '11.0.24'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome-headless-shell, browserVersion: 124.0.6367.118, chrome: {chromedriverVersion: 124.0.6367.91 (51df0e5e17a8..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:33487}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: none, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a77a1dba236223d247d19b36b181ae4f
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201)
at ✽.the Manual Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/03.NavigationModes.feature:12)
Then
the MANUAL is active
Before
Hook
And
the MANUAL is active
java.lang.AssertionError: Button with xpath "//div[contains(@class, 'menu grid-element')]/div[contains(@class, 'menuModes primary')]/div[contains(@class, 'menuModes-modes')]/button[1]" can't be clicked!!
element click intercepted: Element (button class="ModesButton navigation ")...(/button) is not clickable at point (129, 1135). Other element would receive the click: (div class="registrationModalContent-wrapper")...(/div)
(Session info: chrome-headless-shell=124.0.6367.118)
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'jenkintPT', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '6.5.0-41-generic', java.version: '11.0.24'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome-headless-shell, browserVersion: 124.0.6367.118, chrome: {chromedriverVersion: 124.0.6367.91 (51df0e5e17a8..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:33487}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: none, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a77a1dba236223d247d19b36b181ae4f
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201)
at ✽.the Collision Avoidance Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/03.NavigationModes.feature:18)
And
the "cy" on Secondary Map Circle is "higher"
Then
the COLLISION AVOIDANCE is active
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='ModesButton navigation active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:405) at ✽.the COLLISION AVOIDANCE is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/03.NavigationModes.feature:23)
When
the Surveillance Button is clicked
And
the "cy" on Secondary Map Circle is "lower"
Then
the SURVEILLANCE is active
Before
Hook
java.lang.AssertionError: Expected condition failed: waiting for visibility of element located by By.xpath: //button[@class='ModesButton surveillance active'] (tried for 5 second(s) with 100 milliseconds interval) at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:405) at ✽.the SURVEILLANCE is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/03.NavigationModes.feature:30)
When
the Manual Button is clicked
And
the "cy" on Secondary Map Circle is "equal"
Then
the MANUAL is active
Before
Hook
And
the MANUAL is active
java.lang.AssertionError: Button with xpath "//div[contains(@class, 'bigView primary grid-element')]/div[contains(@class, 'interaction-bottom interaction-bottom-bigView')]/div[contains(@class, 'interaction-groupHorizontal interaction-bottom-left')]/button" can't be clicked!!
element click intercepted: Element (button class="ViewToggleButton topRight bottomLeft ")...(/button) is not clickable at point (48, 1047). Other element would receive the click: (div class="registrationModalContent-wrapper")...(/div)
(Session info: chrome-headless-shell=124.0.6367.118)
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'jenkintPT', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '6.5.0-41-generic', java.version: '11.0.24'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome-headless-shell, browserVersion: 124.0.6367.118, chrome: {chromedriverVersion: 124.0.6367.91 (51df0e5e17a8..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:33487}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: none, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a77a1dba236223d247d19b36b181ae4f
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201)
at ✽.the Primary Camera Rotation Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry/short_term_sentry/release/03.NavigationModes.feature:37)
Then
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked